{% extends "base.html" %}
<!--11.4 import statement works similarly to a python import-->
{% import 'bootstrap/wtf.html' as wtf %}
{% block app_content %}
    <h1>Register</h1>
<!--11.4 将原来的from替换为div, adds a wtf.quick_form() macro that in a single line of code renders the complete form-->
    <div class="row">
        <div class="col-md-4">
            {{ wtf.quick_form(form) }}
        </div>
    </div>
{% endblock %}